import os,sys
ar = sys.argv

if len(ar)<2:
    print ('you need a passwd for ss-server')
p = ar[1]

os.system('apt install shadowsocks-libev')
os.system('nohup ss-server -s 0.0.0.0 -p 8080 -k %s -m chacha20 -d 8.8.8.8 --fast-open -u >/dev/null &'%p)

os.system('nohup python3 tous.py >/dev/null &')